package com.cpi.cornpp.languaje.dto;

import com.cpi.cornpp.user.dto.UserDTO;

/**
 * Language Data Transfer Object
 * 
 * @author Edgar Joao
 * 
 */
public class LanguageDTO{
	
	/** Language Id*/
	private String id;
	/** Language Description*/
	private String description;
	/** Default languate */
	private boolean appDefault;
	/**
	 * Is language default
	 * @return
	 */
	public boolean isAppDefault() {
		return appDefault;
	}
	/**
	 * Sets if the language is default or not
	 * @param appDefault
	 */
	public void setAppDefault(boolean appDefault) {
		this.appDefault = appDefault;
	}

	/** User DTO*/
	private UserDTO userDTO;
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public UserDTO getUserDTO() {
		return userDTO;
	}

	public void setUserDTO(UserDTO userDTO) {
		this.userDTO = userDTO;
	}
	
}
